# backend/api/urls.py
from django.urls import path
from . import views

urlpatterns = [
    path('questions/<int:page>/', views.get_questions, name='get_questions'),
    path('submit_answers/', views.submit_answers, name='submit_answers'),
    path('progress/<str:session_key>/', views.get_progress, name='get_progress'),
    path('result/<str:session_key>/', views.calculate_result, name='calculate_result'),
]